// 本地开发使用
var wxApiRoot='http://127.0.0.1:7070/sell';
// 局域网测试使用
//  var wxApiRoot = 'http://10.5.202.127:7070/sell';
// 内网穿透工具
//  var wxApiRoot = 'http://bbbtangmqb.cn.utools.club/sell';
// 云平台部署时使用
// var wxApiRoot = 'http://115.159.145.66:7070/sell';
// 云平台上线时使用
// var wxApiRoot = 'https://www.menethil.com.cn/sell';

// 后端接口访问密钥 暂时写死
var authorization='Basic c2FiZXI6c2FiZXJfc2VjcmV0';
var baldeAuth ='bearer eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yLHVzZXIiLCJ1c2VyX2lkIjoiMSIsInJvbGVfaWQiOiIxLDIiLCJ1c2VyX25hbWUiOiLnrqHnkIblkZgiLCJhY2NvdW50IjoiYWRtaW4iLCJ0ZW5hbnRfY29kZSI6IjAwMDAwMCIsImNsaWVudF9pZCI6InN3b3JkIiwiZXhwIjo2MTYyMTc1Nzk3NiwibmJmIjoxNTY4ODgyMDc3fQ.nnoxvkWRDe-M0ZQSbvnG_BwiCzuHSzyQz0rsq0Un5Bg';

module.exports={
  authorization: authorization, //后端接口访问密钥
  baldeAuth: baldeAuth,

  token: wxApiRoot+'/blade-auth/token',//认证接口

  bannerList: wxApiRoot+'/diancanbanner/list',//首页轮播图
  examples: wxApiRoot+'/diancanproductinfo/list', //精修案例
  categoryList: wxApiRoot+'/diancanproductcategory/list' ,//户型类别
  exampleDetail: wxApiRoot+'/diancanproductinfo/detail', //精修案例
  exampleUpdate: wxApiRoot+'/diancanproductinfo/update', //精修案例更新
  newsList: wxApiRoot+'/diancannotice/list', //通告
  StorageUpload: wxApiRoot + '/blade-resource/oss/endpoint/put-file', //图片上传,
  FeedbackAdd: wxApiRoot + '/diancanfeedback/submit' //反馈
}